using System;
using System.Windows.Forms;
using GodPl.Parser;

namespace GodPl
{
    public static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();

            GameScreen gameScreen = new GameScreen();
            Launcher launcher = new Launcher();
            GodPlGame game = new GodPlGame(gameScreen, gameScreen.DrawSurface);
            gameScreen.Game = game;
            gameScreen.Show();
            launcher.Show();
            game.Run();
        }
    }
}

